<template>
	<view>
		<normal-paging ref="listItem" v-bind="normalPagingConfig">
			<template #top>
				<custom-nav v-bind="navConfig" />
			</template>
			<template #dataList="{item}">
				<Item :info="item" />
			</template>
		</normal-paging>
	</view>
</template>

<script>
	import {
		mapState
	} from "vuex";
	import navConfig from './config/navConfig.js'
	import normalPagingConfig from './config/normalPagingConfig.js'
	import Item from './cps/item.vue'

	export default {
		components: {
			Item
		},
		computed: {
			...mapState({
				userInfo: state => state.login.userInfo
			}),
		},
		data() {
			return {
				navConfig,
				normalPagingConfig
			};
		},
		onLoad(options) {
			
		},
		onReady() {
			uni.setNavigationBarTitle({
				title: `${this.userInfo.wechat_info.title}`
			})
		},
		methods: {
			
		}
	}
</script>
<style>
	.rechargeRecord_item>.item::after>.bg-white{
				border-radius: 10px;

	}
</style>
<style lang="scss">
::v-deep .zp-paging-container{
	border-radius: 10px;
}
</style>